<div class="header_menu">
    <div class="container">
        <div class="header-nav clearfix">
            <?php echo $this->partial('shop/layout/headerMenu'); ?>
        </div>
    </div>
</div>
</div>
<div class="container breadcrumbs">
    <a href="<?php echo $this->url('shop'); ?>"><?php echo $this->translate('首页'); ?></a>
    <span class="sep">/</span><span><?php echo $this->translate('我的收藏'); ?></span>
</div>
<div class="container">
    <div class="uc-full-box">
        <div class="row">
            <div class="span4">
                <?php echo $this->partial('shop/partial/home/leftMenu'); ?>
            </div>
            <div class="span16">
                <div class="xm-line-box uc-box uc-favorite-box">
                    <div class="box-hd">
                        <h3 class="title">
                            <?php echo $this->translate('我的收藏'); ?>
                        </h3>
                    </div>
                    <div class="box-bd">
                        <div class="xm-goods-list-wrap">
                            <?php if ($this->goodsFavoritesList->getCurrentItemCount() > 0) { ?>
                                <ul class="xm-goods-list clearfix">
                                    <?php foreach ($this->goodsFavoritesList as $favoritesValue) { ?>
                                        <li class="">
                                            <div class="xm-goods-item">
                                                <div class="item-thumb">
                                                    <a href="<?php echo $this->url('shop-goods', ['id' => $favoritesValue[0]->getGoodsId()]); ?>" target="_blank"><img src="<?php echo $this->shopHelper()->baseGoodsImagePath($favoritesValue['goodsThumbnailImage']); ?>"></a>
                                                </div>
                                                <div class="item-info">

                                                </div>
                                                <h3 class="item-title"><a target="_blank" href="<?php echo $this->url('shop-goods', ['id' => $favoritesValue[0]->getGoodsId()]); ?>"><?php echo $this->escapeHtml($favoritesValue['goodsName']); ?></a></h3>
                                                <div class="item-price">&nbsp;</div>
                                                <div class="item-star">
                                                    <span class="item-comments">&nbsp;</span>
                                                </div>
                                                <div class="item-actions">
                                                    <a href="javascript:;" onclick="runConfirm('<?php echo $this->translate('您确实要删除该收藏商品吗?'); ?>', '<?php echo $this->url('home-favorites', ['action' => 'deleteGoodsFavorites', 'id' => $favoritesValue[0]->getGoodsFavoritesId()]); ?>', 'false');" class="btn  btn-small btn-yellow J_delFav"><?php echo $this->translate('删除'); ?></a>
                                                </div>
                                            </div>
                                        </li>
                                    <?php } ?>
                                </ul>
                                <?php echo $this->paginationControl($this->goodsFavoritesList, 'Sliding', 'shop/page', ['route' => 'home-favorites']); ?>
                            <?php } else { ?>
                                <p><?php echo $this->translate('暂无商品收藏!'); ?></p>
                            <?php } ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>